package cn.gcxy.service;

import java.sql.Connection;
import java.sql.Date;
import java.sql.SQLException;
import java.util.List;

import cn.gcxy.entity.Pet;
import cn.gcxy.entity.PetOwner;
import cn.gcxy.entity.PetStore;

public interface PetOwnerService {
	
	public PetOwner login(String name, String password);
	public boolean buyPet(Pet pet, int ownerId);
	public List<Pet> queryPetByOwnerId(int ownerId);
	public boolean sellPet(Pet pet, int storeId);
	public List<PetStore> queryAllPetStore();
	public List<Pet> queryPetInPetShop();
}
